From 8e315466b98ddbc98153a54252c9d3c4458cc6c2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 22 May 2010 00:29:58 -0400 Subject: [PATCH] Fix libjasper test This was reported in bug 551322. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d8a20eb493..a99e7d2e34 100644 --- a/configure.ac +++ b/configure.ac @@ -943,7 +943,7 @@ dnl Test for libpng dnl Test for libjasper if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then - AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg) + AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg -lm) fi if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then -- 2.30.2